﻿<table class="table">
    <thead>
        <tr>
            <th>编号</th>
            <th>描述</th>
            <th>已完成</th>
        </tr>
    </thead>
    <tr ng-repeat="item in todo.items" ng-class="$odd ? 'odd' : 'even'">
        <td>{{$index + 1}}</td>
        <td>{{item.action}}</td>
        <td><input type="checkbox" ng-model="item.done" /> </td>
    </tr>
</table>